﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace HumanResourceSystem.Models
{
    public class EmployeeExamine
    {
        [Key]
        public Int32 Id { get; set; }

        [DisplayName("员工号")]
        [Required(ErrorMessage = "请输入员工号")]
        public String IDCard { get; set; }

        [DisplayName("姓名")]
        [Required(ErrorMessage = "请输入姓名")]
        public String Name { get; set; }

        [DisplayName("考核科目")]
        [Required(ErrorMessage = "请输入考核科目")]
        public String Project { get; set; }

        [DisplayName("考核成绩")]
        [Required(ErrorMessage = "请输入考核成绩")]
        public String Score { get; set; }

        [DisplayName("考核日期")]
        [Required(ErrorMessage = "请输入考核日期")]
        public DateTime Date { get; set; }
    }
}